package com.qztc.news_end_dto.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;


@TableName("admin")
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "管理员信息")
public class Admin extends Model<Admin> implements Serializable {
    @Schema(title = "管理员id")
    @TableId
    private int adminid;
    @Schema(title = "管理员账号")
    @TableField
    private String adminname;
    @Schema(title = "管理员密码")
    @TableField
    private String adminpwd;
}
